<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String ip = request.getHeader("x-forwarded-for");
	String proxyip = request.getHeader("Proxy-Client-IP");
	String wxprofxyip = request.getHeader("WL-Proxy-Client-IP");
	String removeip = request.getRemoteAddr();
	if (ip != null) {
		response.getWriter().write(ip);
		response.getWriter().write("ip");
	} else {
		response.getWriter().write("ip");
	}
	if (proxyip != null) {
		response.getWriter().write(proxyip);
		response.getWriter().write("proxyip");
	} else {
		response.getWriter().write("proxyip");
	}
	if (wxprofxyip != null) {
		response.getWriter().write("wxprofxyip");
		response.getWriter().write(wxprofxyip);
	} else {
		response.getWriter().write("wxprofxyip");
	}
	if (removeip != null) {
		response.getWriter().write("removeip");
		response.getWriter().write(removeip);
	} else {
		response.getWriter().write("removeip");
	}
%>

